
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link href="../css/global.css" rel="stylesheet" type="text/css"/>
<link href="../js/webuploader/webuploader.css" rel="stylesheet" type="text/css">
<title>新增</title>
</head>
<body>
<!--栏目列表-->
<div class="left_menu">
  <div class="sub">
  </div>
</div>
<!--/栏目列表-->
<div class="right_con">
  <div class="card">
    <div class="title"><span id="title">新增</span>
      <div class="cfr">
        <div class="tico full">
          <i class="iconfont icon-quanping"></i>
        </div>
      </div>
    </div>
    <div class="tipbox">
    </div>
    <div class="infoBox">
      <div class="boxs">
        <!--基本信息-->
        <div class="box">
          <div class="sub">
            <span>基本信息</span>
            <div class="r_toggle" toggle = ".ifo1" toggletext="&#xe74a;,&#xe749;" open>&#xe74a;</div>
          </div>
          <div class="form ifo1 validform" ly-get="{{interUrl}}/banner/selectBannerById">
          	<input id="bannerId" type="hidden" ly-bind="id"/>        
           <div class="row" gutter="10">
								<div class="label">链接类型：</div>
								<div class="col-7">
									<div class="" id="bannerUrlType" ly-bind="bannerUrlType"></div>
								</div>
							</div>
							<div class="row hide" gutter="10" id="changBusinessId">
								<div class="label">选择链接业务：</div>
								<div class="col-7">
									<div class="" id="businessId" ly-bind="businessId"></div>
								</div>
							</div>
							
             <div class="row" gutter="10" id="changeBannerUrl">
              <div class="label">链接地址：</div>
              <div class="col-7">
                <input type="text" id="bannerUrl" class="ipt" ly-bind="bannerUrl" placeholder="请输入链接地址" data-tip="请输入链接地址" >
              </div>
            </div> 
           <div class="row" gutter="10">
	              <div class="label">banner类型：</div>
	              <div class="col-7"> 
	                <div id="bannerType" name="bannerType"></div>
	              </div>
	            </div>
          <!-- <div class="row" gutter="10">
							<div class="label">图片：</div>
							<div class="col-7">
								<div class="upimg orgimg upartyimg" id="bPicUrl" ly-bind="fileupload" ly-type="upimg" upsize="500,300" placeholder="请上传图片" prvbox="orgimg">
								</div>
							</div>
						</div>-->
						
						<div class="row" gutter="10">
							<div class="label">图片：</div>
							<div class="col-7 simple-uploader clear" id="bPicUrl" ly-bind="listFileupload" type="simple-uploader" filenum='1' filetype="images" noverify="*"> 
                  <!--ufiletype:文件上传类型，filenum：文件上传个数，filesize：上传文件最大限制（单位MB），singlesize：单个文件最大限制(单位MB）--> 
                </div>
						</div>
            
            <div class="row" gutter="10">
							<div class="label">描述：</div>
							<div class="col-7">
								<textarea type="text" class="txa required ipt" id="bannerDesc" ly-bind="bannerDesc" placeholder="请输入描述" data-tip="请输入描述" data-valid="between:0-999" data-error="描述长度必须在0-1000之间"></textarea>
							</div>
						</div>
            <div class="row" gutter="10">
              <div class="label"><em>*</em>排序：</div>
              <div class="col-7">
                <input type="text" id="sortOrder" class="ipt required" ly-bind="sortOrder" placeholder="请输入排序" data-tip="请输入排序" data-valid="isNonEmpty" data-error="排序不能为空">
              </div>
            </div> 
        </div>
      </div>
      <div class="btnBox">
        <div class="fr">
          <button class="btn red " id="save-btn-commodityClassification">保存</button>
          <button class="btn goback" onclick="window.history.back()">返回</button>
        </div>
      </div>
    </div>
  </div>
</div>
</body>
<script id="jquery_js" src="../js/jquery-1.11.1.min.js"></script>
<script id="config_js" src="../js/config.js"></script>
<script id="ly_main_js" src="../js/ly_main.js"></script>
<script src="../js/jquery-validate.js"></script>
<script src="../js/webuploader/webuploader.min.js"></script>
<script src="../js/simpleuploader.js"></script>
<script src="../js/common.js"></script>
<script src="../js/ourJs/banner-creat.js"></script>	
</html>
